package com.lq.educationsystem.examination.mapper;

import com.lq.educationsystem.common.entiy.ClassesSubjectTb;
import com.lq.educationsystem.examination.entiy.ExaminationTb;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【examination_tb】的数据库操作Mapper
* @createDate 2024-04-13 12:22:33
* @Entity com.lq.educationsystem.examination.entiy.ExaminationTb
*/
public interface ExaminationTbMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ExaminationTb record);

    int insertSelective(ExaminationTb record);

    ExaminationTb selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExaminationTb record);

    int updateByPrimaryKey(ExaminationTb record);

    List<ExaminationTb> queryList(@Param("start") int start, @Param("pageSize") Integer pageSize,@Param("examinationTb") ExaminationTb examinationTb);

    /**
     * 查询总数
     * @param examinationTb
     * @return
     */
    int queryCount(@Param("examinationTb") ExaminationTb examinationTb);

    List<ExaminationTb> queryExaminationInfoBySubjectId(@Param("collectSubjectIdInfoList") List<Integer> collectSubjectIdInfoList);

    /**
     * 获取信息
     * @param examinationTb
     * @return
     */
    ExaminationTb queryExaminationInfo(@Param("examinationTb") ExaminationTb examinationTb);


    /**
     * 设置数据
     * @param classesSubjectTbList
     * @return
     */

}
